projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e945d0
)
themingengine: set the right coordinates for the rounded box rect
author
Cosimo Cecchi
<cosimoc@gnome.org>
Sat, 11 Jun 2011 17:32:15 +0000
(13:32 -0400)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Sat, 11 Jun 2011 17:32:15 +0000
(13:32 -0400)
gtk/gtkthemingengine.c
patch
|
blob
|
history
diff --git
a/gtk/gtkthemingengine.c
b/gtk/gtkthemingengine.c
index 47f6b9a5751dad1e4bdf0424a14bd2388114869a..2e8d0ae47eaa2fa94a9cc000899dcb6b16c6cc52 100644
(file)
--- a/
gtk/gtkthemingengine.c
+++ b/
gtk/gtkthemingengine.c
@@
-1689,7
+1689,7
@@
render_frame_internal (GtkThemingEngine *engine,
cairo_set_fill_rule (cr, CAIRO_FILL_RULE_EVEN_ODD);
- _gtk_rounded_box_init_rect (&border_box,
0, 0
, width, height);
+ _gtk_rounded_box_init_rect (&border_box,
x, y
, width, height);
_gtk_rounded_box_apply_border_radius (&border_box, engine, state, junction);
padding_box = border_box;
_gtk_rounded_box_shrink (&padding_box, border.top, border.right, border.bottom, border.left);